//
//  FruitCore.h
//  iFruitGame
//
//  Created by sxz on 2014/12/06.
//  Copyright 2014年 __MyCompanyName__. All rights reserved.
//

#ifndef iFruitGame_FruitCore_H
#define iFruitGame_FruitCore_H

#include "cocos2d.h"

USING_NS_CC;

class FruitCore : CCObject
{
public :
    
    Layer *view;
    Layer *fruitLayer;
    
    Sprite *init(Layer *layer);
    
    void initFruit();
    void initTempFruit();
    void refreshFruit();
    void refreshBompFruit();
    
    int getNoRepeatIndex(int index);
    
};

#endif
